package finall;

public class FinalVariable {
	final int x = 10;

	private void showInstance() {
		System.out.println("Instance x=" + x);
	}

	private void showLocal() {
		int x = 11;
		System.out.println("local x= " + x);
	}

	public static void main(String[] args) {
		FinalVariable obj = new FinalVariable();
		obj.showLocal();
		obj.showInstance();
	}
}